from PyQt5.QtCore import QObject, pyqtSignal
import pandas as pd

class SignalManager(QObject):
    show_in_table_signal = pyqtSignal(pd.DataFrame)  # 通用的信号，用于传递 DataFrame

    def __init__(self):
        super().__init__()

    def emit_show_in_table_signal(self, df):
        """
        用于load_excel方法传递信号
        :param df:
        :return: None
        """
        self.show_in_table_signal.emit(df)
